package com.ruoyi.system.domain.bm;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 礼包实体类
 */

@Data
@TableName("bm_pack")
public class BMPack extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 联赛id
     */
    private Long contestId;
    /**
     * 礼包名称
     */
    private String name;

    /**
     * 礼包图片
     */
    private String logo;

    /**
     * 礼包金额
     */
    private BigDecimal amount;

    /**
     * 创建人id
     */
    private Long createUserId;

    /**
     * 创建人姓名
     */
    private String createUserName;


    /**
     * 是否已删除 0:未删除;1:已删除
     */
    private Integer isDeleted;


    /**
     * 联赛ids
     */
    @TableField(exist = false)
    private List<Long> contestIds;
}